<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/js/jquery.min.js"></script>
    <script>
        $(function () {
            // var aaa = $("input[type]");
            var aaa =$("input[type='password']");
            aaa.css("color", "red");
        })
    </script>
</head>
<body>
    <div>约吗</div>
    <input type="text"><br>
    <input type="password"><br>
    <input>
</body>
</html>